package com.example.demo.security.model;

import java.security.Timestamp;

public class AdminGroup {
   private int id;
   private int pid;
   private String username;
   private Timestamp createtime;

    public AdminGroup() {
    }

    public AdminGroup(int id, int pid, String username, Timestamp createtime) {
        this.id = id;
        this.pid = pid;
        this.username = username;
        this.createtime = createtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "AdminGroup{" +
                "id=" + id +
                ", pid=" + pid +
                ", username='" + username + '\'' +
                ", createtime=" + createtime +
                '}';
    }
}
